<%= meta %>

<title>图片列表</title>
</head>
<body>
  <%= header %>
  <%= menu %>
  <section class="Hui-article-box">
  	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 众筹项目 <span class="c-gray en">&gt;</span> 新建项目列表  <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
  	<div class="Hui-article">
  		<article class="cl pd-20">
  			<div class="text-c">
          项目名称：<input type="text" class="input-text" style="width:120px;">　
          合作方名称：<input type="text" class="input-text" style="width:120px;">　
          分类：<span class="select-box mr-20" style="width:120px">
      					<select name="" class="select">
      						<option value="0">首款</option>
      						<option value="13">尾款</option>
      					</select>
      					</span>　
          创建时间：<input type="text" class="input-text" style="width:120px;" id="datetimepicker2"/> - <input type="text" class="input-text" style="width:120px;" id="datetimepicker3"/>
  				<button name="" id="" class="btn btn-success radius" type="submit"><i class="Hui-iconfont">&#xe665;</i> 查 询</button>
  			</div>
  			<div class="cl pd-5 bg-1 bk-gray mt-20">
  				<span class="l">
            <a class="btn btn-primary radius" href="javascript:;"><i class="Hui-iconfont">&#xe634;</i> 导出</a>
          </span>
  				<span class="r" style="line-height:30px;">共有数据：<strong>1</strong> 条</span> </div>

          <div class="mt-20">
    				<table class="table table-border table-bordered table-bg table-hover table-sort">
    					<thead>
    						<tr class="text-c">
    							<th width="40"><input name="" type="checkbox" value=""></th>
    							<th width="80">ID</th>
    							<th width="100">抵扣券编号</th>
    							<th width="100">抵扣券类型</th>
    							<th>抵扣券金额</th>
    							<th>到期日期</th>
    							<th>订单编号</th>
    							<th>用户手机号</th>
                  <th>订单金额</th>
                  <th>状态</th>
                  <th>操作</th>
    						</tr>
    					</thead>
    					<tbody>
                <tr class="text-c">
    							<td><input name="" type="checkbox" value=""></td>
    							<td>002</td>
    							<td>123123123</td>
    							<td>满1000减50</td>
    							<td>500</td>
    							<td>2016-02-01 15:33:33</td>
                  <td>32123</td>
                  <td>32123</td>
                  <td>32123</td>
                  <td>未核销</td>
                  <td><a href="javascript:void(0)">核销2</a></td>
    						</tr>
                <tr class="text-c">
    							<td><input name="" type="checkbox" value=""></td>
    							<td>001</td>
    							<td>123123123</td>
    							<td>满1000减50</td>
    							<td>500</td>
    							<td>2016-02-01 15:33:33</td>
                  <td>32123</td>
                  <td>32123</td>
                  <td>32123</td>
                  <td>未核销</td>
                  <td><a href="javascript:void(0)">核销1</a></td>
    						</tr>
    					</tbody>
              <tfoot>
                <tr>
                  <td colspan="11">抵扣券合计：43，434.00 <button class="btn va-m btn-secondary radius ml-10" type="button">全部核销</button></td>
                </tr>
              </tfoot>
    				</table>
			     </div>

    	</article>
  	</div>
  </section>

  <%= footer %>
	<!-- 时间插件 -->
	<link href="lib/datetimepicker/datetimepicker.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="lib/datetimepicker/datetimepicker.js"></script>

  <script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>

  <script>
  $('.table-sort').dataTable({
		"aaSorting": [[ 2, "desc" ]],//默认第几个排序
		"bStateSave": true,//状态保存
		"aoColumnDefs": [
		  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
		  {"orderable":false,"aTargets":[1]}// 制定列不参与排序
		]
	});
	//*项目-编辑*/
	function project_edit(title,url,id,w,h){
		var index = layer.open({
			type: 2,
			title: title,
			content: url
		});
		layer.full(index);
	}
// 时间
	$('#datetimepicker2,#datetimepicker3').datetimepicker({
		yearOffset:0,
		lang:$.datetimepicker.setLocale('ch'),
		timepicker:false,
		format:'Y-m-d',
		formatDate:'Y/m/d',
	});

  </script>
</body>
</html>
